<?php slot('sub', $sub); ?>
<?php slot('menu', $menu); ?>
<?php slot('user', $user); ?>

<link type="text/css" rel="stylesheet" href="/web/css/agent_page.css" />

<div class="center">
    <div class="center_block">
        <div class="header_center_block"><span>Agent Information</span></div>
        <form action="<?php echo url_for('agentedit', array('agent' => $agent_id)) ?>" method="POST">
            <table class="agent_form">
                <?php echo $form ?>
                <tr class="agent_form_buttons">
                    <td colspan="2">
                        <input type="submit" value="Save" id="save_agent_button"/>
                        <div id="cancel_agent_button"><a href="<?php echo url_for('agentpage', array('agent' => $agent_id)) ?>">Cancel</a></div>
                    </td>
                </tr>
            </table>
        </form>
    </div>
</div>